package zuoye.test6;

public class Jingli extends Nolick {
    private String yearEndBonus;

    public Jingli(String id, String name, int age, String yearEndBonus) {
        super(id, name, age);
        this.yearEndBonus = yearEndBonus;
    }

    public String getYearEndBonus() {
        return yearEndBonus;
    }

    public void setYearEndBonus(String yearEndBonus) {
        this.yearEndBonus = yearEndBonus;
    }

    @Override
    public void jiad2() {
        System.out.println("经理宣：");
        System.out.println("内容：你们必须加班，要不我咋挣钱！");
    }
}
